package com.wb.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "provide-one")
public interface DemoFeignClient {

    @RequestMapping(value = "/sendMsg", method = RequestMethod.POST)
    String sendMsg(@RequestParam("id") Long id);

}